using ColorFillGame.Application.Commands;
using MediatR;

namespace ColorFillGame.Application.Commands;

public class SetPlayerColorCommand : ICommand
{
    public Guid GameId { get; set; }
    public Guid PlayerId { get; set; }
    public string HexColor { get; set; }

    public SetPlayerColorCommand(Guid gameId, Guid playerId, string hexColor)
    {
        GameId = gameId;
        PlayerId = playerId;
        HexColor = hexColor;
    }
}